package com.company.cloud.acct.modules.app.controller.req;

import com.company.cloud.common.bean.BaseParam;
import com.company.cloud.common.constant.BaseConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

@Getter
@Setter
public class BankCardBindParam extends BaseParam {

    @ApiModelProperty(value = "银行名称")
    private String bankName;


    @ApiModelProperty(value = "银行编号")
    private String bankCode;


    @ApiModelProperty(value = "开户行")
    private String bankOpen;


    @ApiModelProperty(value = "银行卡号",required = true)
    @NotEmpty(message = "银行卡号不能为空")
    private String cardNo;


    @ApiModelProperty(value = "开户姓名",required = true)
    @NotEmpty(message = "开户姓名不能为空")
    private String cardUserName;


    @ApiModelProperty(value = "开户手机号",required = true)
    @NotEmpty(message = "开户手机号不能为空")
    private String cardMobile;


    @ApiModelProperty(value = "开户身份证号",required = true)
    @NotEmpty(message = "开户身份证号不能为空")
    private String cardIdCard;


    @ApiModelProperty(value = "是否默认[YN]",required = true)
    @NotEmpty(message = "不能为空")
    private String isDef= BaseConstant.YNEnum.YES.getCode();

    @ApiModelProperty(value = "短信验证码", required = true)
    @NotEmpty(message = "短信验证码不能为空")
    private String vcode;

}
